package rt.crashmere.server.model.request.userInterfaceInfoRequest;

import lombok.Data;
import lombok.EqualsAndHashCode;
import rt.crashmere.server.model.request.PageRequest;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserInterfaceInfoQueryRequest extends PageRequest implements Serializable {
    private static final long serialVersionUID = -6583400293488163107L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 调用用户 id
     */
    private Integer userId;

    /**
     * 接口 id
     */
    private Integer interfaceInfoId;

    /**
     * 总调用次数
     */
    private Integer totalNum;

    /**
     * 剩余调用次数
     */
    private Integer leftNum;

    /**
     * 0-正常，1-禁用
     */
    private Integer status;

}